<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        #div1{
            margin: auto;
            width: 500px;
            height: 1000px;
        }
        form{
            width: 300px;
            margin-left: 100px;
            text-align: right;
            margin-top: 100px;
        }
        .submit{
            margin-top: 15px;
            margin-right: 70px;
        }
        #div2{
            margin-right: 96px;
        }
    </style>
</head>
<body>
    <div id="div1">
        <form action="/spring/register" method="post">
            账号:<input type="text" name="username"><br>
            密码:<input type="password" name="password"><br>
            重复密码:<input type="password" name="password2"><br>
            <div id="div2">性别:<input type="radio" value="男" name="sex">男<input type="radio"  value="女" name="sex">女<br></div>
            联系电话:<input type="text" name="telphone"><br>
            邮箱:<input type="text" name="email"><br>
            <input type="submit" class="submit" value="注册">
        </form>
    </div>
</body>
</html>